//
//  ZHTableViewHelper.h
//  ArthurRoom
//
//  Created by 赵宏亚 on 2019/8/17.
//  Copyright © 2019 ArthurRoom. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <ReactiveObjC.h>
#import "ZHCellDelegate.h"

NS_ASSUME_NONNULL_BEGIN

@interface ZHTableViewHelper : NSObject

@property (nonatomic,strong) NSMutableArray *data;
@property (nonatomic,strong) UITableView *tableView;
@property (nonatomic,strong) UITableViewCell *templateCell;
@property (nonatomic,strong) RACCommand *selectCommand;

+ (instancetype)bindingForTableView:(UITableView *)tableView
                        sourceSignal:(RACSignal *)source
                 didSelectionCommand:(RACCommand *)didSelection
               templateCellClassName:(NSString *)classCell;


+ (instancetype)bindingForTableView:(UITableView *)tableView
                        sourceSignal:(RACSignal *)source
                 didSelectionCommand:(RACCommand *)didSelection
                        templateCellNibName:(NSString *)nibName;



@end

NS_ASSUME_NONNULL_END
